/*
 * SoundManager.h
 *
 *  Created on: 01/06/2014
 *      Author: javier
 */

#ifndef SOUNDMANAGER_H_
#define SOUNDMANAGER_H_

#include <SDL_mixer.h>
#include "Positionable.h"

enum SoundEvent {
	NEW_OBJECT, DESTROY_OBJECT
};

class SoundManager {
public:
	SoundManager();
	void playEvent(Positionable* p, SoundEvent event);
	virtual ~SoundManager();
private:
	Mix_Chunk *bomb_explosion;
	Mix_Chunk *bomberman_destroy;
	Mix_Chunk *zombie_destroy;
	Mix_Chunk *bomb_planted;
	Mix_Chunk *bomb_throw;
};

#endif /* SOUNDMANAGER_H_ */
